<?php
if ( !class_exists( "Classes_DBException" ) ) 
{ 
/*
	
	
	
	
*/
	class Classes_DBException extends Exception 
	{
		public function getError() 
		{
			if	(PGP_DEBUG)
			{
				return $this->getMessage();
			}
			else
			{
				# send an email to admin on production
				#sendemail(...);

				# echo a generic server unnavailable message
				echo	"Server unavailable at this time.<br><br>We will be back soon!";
			}
		}
    }
}














?>